using System;
using System.Xml.Schema;
using System.Xml.Serialization;
using flickr.api.communication;

namespace flickr.api
{
    [Serializable]
    public class PhotoInfoTag : FlickrObject
    {
        [XmlAttribute("id", Form=XmlSchemaForm.Unqualified)]
        public string TagId;

        [XmlAttribute("author", Form=XmlSchemaForm.Unqualified)]
        public string AuthorId;

        [XmlAttribute("authorname", Form=XmlSchemaForm.Unqualified)]
        public string AuthorName;

        [XmlAttribute("raw", Form=XmlSchemaForm.Unqualified)]
        public string Raw;

        [XmlText()]
        public string TagText;
        
        public PhotoInfoTag():base(){}
        public PhotoInfoTag(FlickrConnection connection) : base(connection){}
    }
}